package cn.cttic.order.api.domain.vo;

import cn.cttic.order.api.domain.BaseInstallOrder;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;


/**
 * 安装订单视图对象 base_install_order
 *
 * @author Times.Studio
 * @date 2024-09-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BaseInstallOrder.class)
public class BaseInstallOrderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @ExcelProperty(value = "标识")
    private String id;

    /**
     * 销售订单
     */
    @ExcelProperty(value = "销售订单")
    private String saleOrderId;

    private String channelName;

    private String companyName;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String fullName;

    /**
     * 客户车牌号
     */
    private String imei;

    /**
     * 客户车牌号
     */
    @ExcelProperty(value = "客户车牌号")
    private String carNo;

    /**
     * 安装码
     */
    @ExcelProperty(value = "安装码")
    private String installCode;

    /**
     * 二维码地址
     */
    @ExcelProperty(value = "二维码地址")
    private String installUrl;

    private String productName;

    private String deviceName;

    private String deviceModel;

    private String productThumbnailUrl;

    /**
     * 安装人员
     */
    @ExcelProperty(value = "安装人员")
    private String installManId;

    private String salesManName;

    private String installManName;

    /**
     * 通知短信
     */
    @ExcelProperty(value = "通知短信")
    private String noticeSmsId;

    /**
     * 通知状态
     */
    @ExcelProperty(value = "通知状态")
    private Integer noticeStatus;

    /**
     * 订单状态
     */
    @ExcelProperty(value = "订单状态")
    private Integer status;

    private String statusName;

    /**
     * 安装状态
     */
    @ExcelProperty(value = "安装状态")
    private Integer installStatus;

    /**
     * 激活状态
     */
    @ExcelProperty(value = "激活状态")
    private Integer activeStatus;

    /**
     * 验收状态
     */
    @ExcelProperty(value = "验收状态")
    private Integer verifyStatus;

    /**
     * 验收原因
     */
    private String verifyReason;

    /**
     * 验收状态
     */
    @ExcelProperty(value = "验收状态")
    private Integer checkStatus;

    /**
     * 签收用户
     */
    private Long receivedUserId;

    private String receivedUserName;

    /**
     * 激活时间
     */
    private LocalDateTime startTime;

    /**
     * 提交类型
     */
    private String startType;

    /**
     * 提交时间
     */
    private LocalDateTime submitTime;

    /**
     * 激活时间
     */
    private LocalDateTime onlineTime;

    /**
     * 激活时间
     */
    private LocalDateTime lastOnlineTime;

    /**
     * 激活时间
     */
    private LocalDateTime activeTime;

    /**
     * 激活时间
     */
    private LocalDateTime verifyTime;

    /**
     * 激活时间
     */
    private LocalDateTime checkTime;

    /**
     * 签收时间
     */
    private LocalDateTime receivedTime;

    private String onlineInterfaceId;

    private String activeInterfaceId;

    /**
     * 复核用户
     */
    private Long reviewUserId;

    private String reviewUserName;

    /**
     * 复核签收时间
     */
    private LocalDateTime reviewReceiveTime;

    /**
     * 复核时间
     */
    private LocalDateTime reviewTime;

    /**
     * 复核状态
     */
    private Integer reviewStatus;

    /**
     * 复核内容（未通过原因/通过评论）
     */
    private String reviewReason;


    private BaseSaleOrderVo saleOrderVo;

}
